<div class="top-content" style="
    background-image: url(http://10.222.29.181:8088/O2OFileServer/read/background/KFC.jpg);background-size:100% 100%;">

    <div class="inner-bg">
        <div class="container">
            <div class="row">
                <div class="col-sm-8 col-sm-offset-2 text">
                    <h1 style="text-align: center;color:white;"><strong>O2O[M]</strong> Regist Form</h1>
                    <div class="description">

                    </div>
                </div>.
            </div>
            <div class="row">
                <div class="col-sm-6 col-sm-offset-3 form-box">
                    <div class="form-top">
                        <div class="form-top-left">
                            <h3>Sign up your message</h3>

                        </div>
                        <div class="form-top-right">
                            <i class="fa fa-key"></i>
                        </div>
                    </div>
                    <div class="form-bottom">
                        <span style="color:red" class="error-span" id="errorSpan1" ng-show="msgNull">Message is null</span>
                        <span style="color:red" class="error-span" id="errorSpan2" ng-show="pwdError">Password is no same</span>
                        <span style="color:red" class="error-span" id="errorSpan3" ng-show="accountError">Account is exit</span>
                        <span style="color:red" class="error-span" id="errorSpan4" ng-show="dbError">DB is error</span>
                        <form id="registForm" role="form" name="myForm" method="post" class="regist-form" novalidate>
                            <div class="form-group">

                                <input type="text" name="account"  placeholder="Account..." class="form-username form-control" ng-model="account" required>
                                <span style="color:red" ng-show="myForm.account.$dirty && myForm.account.$invalid">
                                <span ng-show="myForm.mAccount.$error.required">Account is null</span>
                            </div>
                            <div class="form-group">
                                <label class="sr-only" >pwd</label>
                                <input type="password" name="pwd"  placeholder="Password..." class="form-password form-control" ng-model="pwd" required>
                                <span style="color:red" ng-show="myForm.pwd.$dirty && myForm.pwd.$invalid">
                                <span ng-show="myForm.pwd.$error.required">pwd is null</span>
                            </div>
                            <div class="form-group">
                                <label class="sr-only" >pwd2</label>
                                <input type="password" name="pwd2"  placeholder="Confirm Password..." class="form-password form-control" ng-model="pwd2" required>
                                <span style="color:red" ng-show="myForm.pwd2.$dirty && myForm.pwd2.$invalid">
                                <span ng-show="myForm.pwd2.$error.required">pwd is null</span>
                            </div>
                            <div class="form-group">
                                <label class="sr-only" >mName</label>
                                <input type="text" name="name"  placeholder="ShopName..." class="form-username form-control" ng-model="name" required>
                                <span style="color:red" ng-show="myForm.name.$dirty && myForm.name.$invalid">
                                <span ng-show="myForm.name.$error.required">name is null</span>
                            </div>
                            <div class="form-group">
                                <label class="sr-only" >address</label>
                                <input type="text" name="address"  placeholder="Address..." class="form-password form-control" ng-model="address" required>
                                <span style="color:red" ng-show="myForm.address.$dirty && myForm.address.$invalid">
                                <span ng-show="myForm.address.$error.required">address is null</span>
                            </div>
                            <div class="form-group">
                                <label>ImgCard</label>
                                <input type="file"  name="imgCard"  placeholder="ID Card Image..." title="ID Card Image..." class="btn-primary" file-model="imgCard" required>
                                <span style="color:red" ng-show="myForm.imgCard.$dirty && myForm.imgCard.$invalid">
                                <span ng-show="myForm.imgCard.$error.required">imgCard is null</span>
                            </div>
                            <div class="form-group">
                                <label>ImgHead</label>
                                <input type="file"  name="imgHead"  placeholder="Head Image..." title="Head Image..." class="btn-primary" file-model="imgHead" required>
                                <span style="color:red" ng-show="myForm.imgHead.$dirty && myForm.imgHead.$invalid">
                                <span ng-show="myForm.imgHead.$error.required">imgHead is null</span>
                            </div>
                            <div class="form-group row">
                                <button type="sumbit" class="btn btn-success" ng-click="submit()" ng-disabled="myForm.mAccount.$dirty && myForm.mAccount.$invalid"/>Sure</button>
                            </div>

                        </form>
                    </div>
                </div>
            </div>

        </div>
    </div>

</div>